package com.etc.bvlog.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author lhm
 * @since 2021-09-27
 */
@TableName("tbl_goods")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品序号
     */
    @TableId(value = "goodsid", type = IdType.AUTO)
    private Integer goodsid;

    /**
     * 商品名
     */
    private String goodsname;

    /**
     * 价格
     */
    private Double goodsprice;

    /**
     * 商品简介
     */
    private String goodsinfo;

    /**
     * 库存
     */
    private Integer goodscount;

    /**
     * 图片地址
     */
    private String cover;

    /**
     * 图片地址
     */
    private Integer typeid;

    /**
     * 店铺编号
     */
    private Integer shopid;

    /**
     * 商品状态
     */
    private Integer goodsstate;

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public Double getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(Double goodsprice) {
        this.goodsprice = goodsprice;
    }

    public String getGoodsinfo() {
        return goodsinfo;
    }

    public void setGoodsinfo(String goodsinfo) {
        this.goodsinfo = goodsinfo;
    }

    public Integer getGoodscount() {
        return goodscount;
    }

    public void setGoodscount(Integer goodscount) {
        this.goodscount = goodscount;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public Integer getShopid() {
        return shopid;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }

    public Integer getGoodsstate() {
        return goodsstate;
    }

    public void setGoodsstate(Integer goodsstate) {
        this.goodsstate = goodsstate;
    }

    @Override
    public String toString() {
        return "Goods{" +
        ", goodsid=" + goodsid +
        ", goodsname=" + goodsname +
        ", goodsprice=" + goodsprice +
        ", goodsinfo=" + goodsinfo +
        ", goodscount=" + goodscount +
        ", cover=" + cover +
        ", typeid=" + typeid +
        ", shopid=" + shopid +
        ", goodsstate=" + goodsstate +
        "}";
    }
}
